@layout("/common/_form.html",{js:["/assets/appVersion/appVersion_edit.js"]}){

<form class="layui-form" id="appVersionForm" lay-filter="appVersionForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">版本号<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="version" name="version" placeholder="请输入版本号， 例如1.0.0" type="text"
                                   class="layui-input" maxlength="10"
                                   lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">版本类型<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="type" lay-verify="otherReq" type="radio" title="正式版" value="1"/>
                            <input name="type" lay-verify="otherReq" type="radio" title="测试版" value="2"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">APP包<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <div class="layui-upload">
                                <input name="apk" style="display: none;">
                                <input name="fileName" style="display: none;">
                                <button type="button" class="layui-btn" id="test1">上传文件</button>
                                <div class="layui-upload-wrap">
                                    <span id="demoText"></span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}